﻿using Microsoft.AspNetCore.Mvc;

namespace PageOffice6_Net_Core.Controllers.OpenImage
{
    public class OpenImageController : Controller
    {
        public IActionResult Image()
        {
            PageOfficeNetCore.PDFCtrl pdfCtrl = new PageOfficeNetCore.PDFCtrl(Request);
            pdfCtrl.WebOpen("doc/test.jpg");
            ViewBag.poCtrl = pdfCtrl.GetHtml();
            return View();
        }
    }
}